package gof.com.yew.mediator;

//开发部门
public class Development implements Department {
	//中介者引用
	private Mediator m; 

	public Development(Mediator t) {
		this.m = t;
		m.register("001", this);
	}

	@Override
	public void selfAction() {
		System.out.println("001负责产品开发");
	}

	@Override
	public void outAction(String dname) {
		System.out.println("001请求资金支持");
		m.command(dname);
	}

}
